package edu.sctu.xiangkun.day201505.day20150519;

import java.util.ArrayList;
import java.util.List;
import java.util.Random;

/**
 * Created by user08 on 2015/5/19.
 */
public class Lista {
    public static void main(String[] args) {

        List list1 = new ArrayList<>();
        Random random = new Random();
        list1.add(random.nextInt(100));
        list1.add(7);
        list1.add(random.nextGaussian());
        list1.add("bob");
        list1.add(random.nextBoolean());
        list1.add(random.nextLong());
        list1.add(random.nextInt());
        list1.add(Math.sin(Math.toRadians(30)));


        System.out.println(list1.get(0));
        System.out.println(list1.get(1));
        System.out.println(list1.get(2));
        System.out.println(list1.get(3));
        System.out.println(list1.get(4));
        System.out.println(list1.get(5));
        System.out.println(list1.get(6));
        System.out.println(list1.get(7));

    }
}
